package com.clever.springssm.service;

import com.clever.springssm.request.CartsRequestParams;
import com.clever.springssm.vo.CartsVo;

import java.util.List;

/**
 * @author ChenWang
 * @interfaceName CartsService
 * @date 2020/10/30 14:53
 * @since JDK 1.8
 */
public interface CartsService {
    int saveCarts(CartsRequestParams cartsRequestParams);

    List<CartsVo> seletAllByUserId(int uid);

    int delCarsById(List<Integer> cartIds);

    int update(List<CartsRequestParams> cartsRequestParamsList);
}
